<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:a4j="http://richfaces.org/a4j">

	<a4j:outputPanel ajaxRendered="true">

		<rich:popupPanel domElementAttachment="parent" minHeight="100"
			height="110" minWidth="360"
			id="confirmaPanel#{componentView.acaoPopUp}"
			show="#{componentView.exibePopup}" resizeable="false"
			style="font-size: 13px; text-align:center; line-height:100%;color: #000080;">
			<f:facet name="header">
				<h:panelGroup>
					<h:outputText value="#{componentView.tituloPopUp}" />
				</h:panelGroup>
			</f:facet>

			<h:panelGrid columns="1" style="text-align:center" width="100%">

				<rich:column>
					<h:outputText value="#{componentView.textoPopup}" />
				</rich:column>

				<rich:column>
					<h:outputText value=" " />
				</rich:column>

				<rich:column>
					<br />
				</rich:column>

				<rich:column>
					<h:panelGrid columns="2" width="100%">

						<h:column>
							<h:commandButton value="   Sim   "
								action="#{componentView.execute}" render="#{form}">
								<rich:componentControl
									for="confirmaPanel#{componentView.acaoPopUp}"
									attachTo="fecharPopup" operation="hide" event="onclick" />

								<a4j:param name="fecharModal"
									assignTo="#{componentView.exibePopup}" value="false" />

							</h:commandButton>
						</h:column>

						<h:column>
							<a4j:commandButton id="fecharPopup" action="#" value="   Não   ">
								<rich:componentControl
									for="confirmaPanel#{componentView.acaoPopUp}"
									attachTo="fecharPopup" operation="hide" event="onclick" />
								<a4j:param name="fecharModal"
									assignTo="#{componentView.exibePopup}" value="false" />
							</a4j:commandButton>
						</h:column>

					</h:panelGrid>

				</rich:column>

			</h:panelGrid>

		</rich:popupPanel>

	</a4j:outputPanel>
</ui:composition>
